package freedom.ms.basic;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.client.SpringCloudApplication;

@SpringCloudApplication
public class BasicApp extends SpringBootServletInitializer {
	

    private static final Class<?> AppClass = BasicApp.class;

	public static void main(String[] args) {
        SpringApplication.run(AppClass, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(AppClass);
    }
}
